#include "sum.h"

int sum(int m, int n)
{
    int sum = 0;
    while (m <= n)
    {
        sum += m;
        m++;
    }
    return sum;
}